﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core;

namespace DataAccess
{
    public class InfoDangNhap
    {
        private string _TenDangNhap;

        public string TenDangNhap
        {
            get { return _TenDangNhap; }
            set { _TenDangNhap = value; }
        }
        private string _MatKhau;

        public string MatKhau
        {
            get { return _MatKhau; }
            set { _MatKhau = value; }
        }
        public InfoDangNhap()
        { }
        public static InfoDangNhap DangNhapAcount(string tendangnhap, string matkhau)
        {
            return CBO.FillObject<InfoDangNhap>(DataProvider.Instance.ExecuteReader("DangNhapAcount",tendangnhap,matkhau));
        }
    }
}
